package com.xiaofeng.auth.application.convert;

import com.xiaofeng.auth.application.dto.AuthRoleDTO;
import com.xiaofeng.auth.domain.entity.AuthRoleBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author: chc
 * @Date: 2024/02/10/20:01
 * @Description: 角色dto转换器
 */
@Mapper
public interface AuthRoleDTOConverter {

    AuthRoleDTOConverter INSTANCE = Mappers.getMapper(AuthRoleDTOConverter.class);

    AuthRoleBO convertDTOToBO(AuthRoleDTO authRoleDTO);

}
